package com.codebattery.domain.model;

import com.codebattery.config.DataDict;

public class DeviceInfo {
    private Integer id;
    private String type;
    @DataDict("type")
    private String typeName;
    private String name;
    private String address;
    private String serialNum;
    private String remark;

    public DeviceInfo(Integer id, String type, String name, String address, String serialNum, String remark) {
        this.id = id;
        this.type = type;
        this.name = name;
        this.address = address;
        this.serialNum = serialNum;
        this.remark = remark;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getTypeName() {
        return typeName;
    }

    public void setTypeName(String typeName) {
        this.typeName = typeName;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getSerialNum() {
        return serialNum;
    }

    public void setSerialNum(String serialNum) {
        this.serialNum = serialNum;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }
}
